package Java学习.面向对象.内部类;

public class Text {
    private  String carNAme;
     private int carAge;
     private String carColor;
     public void show(){
         System.out.println();
     }
     public class Engine{
         String engineName;
         int engineAge;
         public void show(){
             System.out.println(engineName);
             System.out.println(carNAme);
         }
     }

}
